﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Master/MasterPage.master" AutoEventWireup="true"
    CodeBehind="ProcureHospitalMax.aspx.cs" Inherits="HZ.Supervise.Web.Secondphase.ReportHospital.ProcureHospitalMax" %>

<%@ Register Src="~/Common/QueryControl.ascx" TagName="QueryControl" TagPrefix="uc1" %>
<%@ Register Src="~/Common/ChartControl.ascx" TagName="ChartControl" TagPrefix="uc2" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div id="tabnav">
        <ul>
            <li><a href="ProcureMax.aspx">药品之星</a></li>
            <li class="active"><a href="javascript:void(0);">医院之星</a></li>
            <li><a href="ProcureCompanyPS.aspx">配送之星</a></li>
            <li><a href="ProcureArea.aspx">地区之星</a></li>
        </ul>
    </div>
    <div id="tabcontent2">
        <table class="querylist">
            <tr>
                <td>
                    <table class="querylist">
                        <tr>
                            <td align="right">
                                医院名称：
                            </td>
                            <td align="left">
                                <asp:TextBox runat="server" ID="txtgoodsid"></asp:TextBox>
                            </td>
                            <td align="right">
                                医院名称：
                            </td>
                            <td align="left">
                                <asp:TextBox ID="TextHospitalname" runat="server" MaxLength="5"></asp:TextBox>
                            </td>
                            <td align="right">
                                排名方式：
                            </td>
                            <td align="left">
                                <asp:DropDownList ID="ddlorderby" runat="server">
                                    <asp:ListItem Text="采购总数量" Value="0"></asp:ListItem>
                                    <asp:ListItem Text="采购总金额" Value="0"></asp:ListItem>
                                    <asp:ListItem Text="基药采购总数量" Value="0"></asp:ListItem>
                                    <asp:ListItem Text="基药采购总金额" Value="0"></asp:ListItem>
                                    <asp:ListItem Text="非基药采购总数量" Value="0"></asp:ListItem>
                                    <asp:ListItem Text="非基药采购总金额" Value="0"></asp:ListItem>
                                </asp:DropDownList>
                            </td>
                        </tr>
                        <asp:Literal runat="server" ID="ltlAdvance" Text="&lt;tbody id='advance' style='display:none'&gt;"></asp:Literal>
                    </table>
                </td>
                <td width="100px">
                    <asp:Button ID="btnQuery" runat="server" Text="查询" OnClick="btnQuery_Click" CssClass="searchbtn"
                        SkinID="search" ToolTip="点击查询符合条件的数据" />
                </td>
            </tr>
        </table>
    </div>
    <asp:GridView ID="gvwProcureCatalog" runat="server" CssClass="mainlist" AutoGenerateColumns="False">
        <Columns>
            <asp:BoundField DataField="Hospitalname" HeaderText="医院名称" ReadOnly="true" />
            <asp:TemplateField HeaderText="采购总数量">
                <ItemTemplate> 
                    <%# Eval("PurchaseNumerbTotalc") %>【基本：<%#Eval("PurchaseNumerbTotalc_jb") %>|非基本：<%#Eval("PurchaseNumerbTotalc_fjb") %>】  
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="采购金额">
                <ItemTemplate>
                    <%#Eval("PurchaseAmountTotal") %>【基本：<%#Eval("PurchaseAmountTotal_jb") %>|非基本：<%#Eval("PurchaseAmountTotal_fjb") %>】
                </ItemTemplate>
            </asp:TemplateField>
            <asp:BoundField DataField="LastMonthRanked" HeaderText="上月排名" ReadOnly="true" />
            <asp:TemplateField HeaderText="名次变化">
                <ItemTemplate>
                    <img src='<%# HZ.Supervise.Web.Function.GetImageurl( Eval("RankedChange")) %>' />
                </ItemTemplate>
            </asp:TemplateField>
        </Columns>
    </asp:GridView>
    <div>
        <webdiyer:AspNetPager ID="AspNetPager1" runat="server" OnPageChanged="AspNetPager1_PageChanged">
        </webdiyer:AspNetPager>
    </div>
    <hz:HzButton ID="btnExcel" runat="server" CssClass="btn" Text="导出数据" OperateType="导出"
        OnClick="btnExcel_Click" />&nbsp;统计：<asp:Label ID="lblCount" runat="server"></asp:Label>
    <div class="listip">
        <ul>
            <asp:LinkButton ID="lbtnSee" runat="server" OnClick="lbtnSee_Click" Font-Size="Small"
                Visible="false">显示图表</asp:LinkButton>
            <uc2:ChartControl ID="ChartControl1" runat="server" Visible="False" />
            <li>说明:<span>可以点击相应按钮进入查看详细信息</span> </li>
        </ul>
    </div>
</asp:Content>
